package com.five.admin.server;

import com.baomidou.mybatisplus.extension.service.IService;
import com.five.admin.dto.AdminEditDto;
import com.five.admin.dto.AdminLoginDto;
import com.five.admin.dto.AllocateDto;
import com.five.pojo.entity.Admin;

public interface AdminService extends IService<Admin> {
   String adminLogin(AdminLoginDto adminLoginDto);
   void  allocateRoles(AllocateDto allocateDto);

   boolean addAdmin(AdminEditDto adminEditDto);

   void updateAdmin(AdminEditDto adminEditDto);

   boolean deleteAdmin(Long id);
}
